package com.gxa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddOrderData {
    private Integer id;
    private String productName; //商品名称
    private String largeUnit;   //大单位
    private String largeUnitPrice; //大单位价格
    private Integer lQuantity;    //大单位数量
    private String smallUnit;    //小单位
    private String smallUnitPrice;  //小单位单价
    private Integer sQuantity;     //小单位数量
    private String existingStocks;  //库存
    private String Amount;        //金额

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date productionDate;  //生产日期
    private String productTypes;  //商品类型
    private String unit;          //单位
    private Date startDate;
    private Date endDate;

}
